<template>
<view class="bar-bottom" id="goods_car">
    <block v-if="total.total_num==0">
        <view class="buy">
            <view class="car_pic">
                <image class="car_png" :src="__wxapp_img.store.car.url"></image>
            </view>
            <view class="weixuan">未选购商品</view>
        </view>
        <view class="goumai">立即购买</view>
    </block>
    <block v-if="total.total_num>0">
        <view @tap="goodsModel" class="buy">
            <view class="car_pic">
                <image class="car_png" :src="__wxapp_img.store.yougoods.url"></image>
                <view class="total_num">{{total.total_num}}</view>
            </view>
            <view class="price">￥{{total.total_price}}</view>
        </view>
        <view @tap="buynow" class="pay">立即购买</view>
    </block>
</view>
</template>

<style>
@import "./goods_car.css";
</style>